#include "sdk/ohos/ohos_audio_manager.h"
#include <cstdint>
#include "ohos_audio_manager.h"
namespace ohosrtc {

OHOSAudioManager::OHOSAudioManager(webrtc::PeerConnectionFactoryInterface *pc_factory, rtc::Thread *worker_thread)
    : audio_manager_(new webrtc::OHOSAudioManager(pc_factory, worker_thread)) {}

int32_t OHOSAudioManager::Mute() {
  return audio_manager_->Mute();
}

int32_t OHOSAudioManager::UnMute() {
  return audio_manager_->UnMute();
}

}